#pragma once
#include <string>
#include <vector>
#include <map>
#include <set>

using std::map;
using std::pair;
using std::string;
using std::vector;
using std::set;

class DictProducer
{
public:
    DictProducer(string str);
    void buildDict();
    void buildCnDict();
    void createIndex();
    void store();

private:
    vector<string> _files;
    vector<pair<string, int>> _dict;
    map<string, set<int>> _index;
    // SplitTool * _cuttor;
};
